package com.good.msgsys.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 论文实体类
 *
 * @author junlong
 * @date 2021/1/4 18:50
 */
@Entity
@Table(name = "paper")
@ApiModel("论文实体Paper")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Paper implements Serializable {
    @Id
    @ApiModelProperty("论文id")
    private String id;
    @ApiModelProperty("刊文题目")
    private String name;
    @ApiModelProperty("刊物类型：0中文普通期刊，1中文核心期刊，2CSSCI，3外文期刊，4会议论文，5一般论文集，6其他文章")
    private Integer type;
    @ApiModelProperty("发表时间")
    private Date publishTime;
    @ApiModelProperty("发表期刊/刊文集名")
    private String journal;
    @ApiModelProperty("收录转载：0SCIE，1EI，2SSCI，3ISTP，4ISSHP，5其他")
    private Integer include;
    @ApiModelProperty("所属单位")
    private String company;
    @ApiModelProperty("字数")
    private Long counts;
    @ApiModelProperty("ISSN号")
    private String issn;
    @ApiModelProperty("是否为译文：0否，1是")
    private Integer translate;
    @ApiModelProperty("版面：0正刊，1增刊，2年刊，3专利")
    private String position;
    @ApiModelProperty("作者信息ids")
    private String ids;
    @ApiModelProperty("备注信息")
    private String remark;
    @ApiModelProperty("申请人(当前用户)id")
    @Column(name = "applicant_id")
    private String userId;
    @ApiModelProperty("论文状态：0未提交审核，1已提交待审核，2论文通过，3论文不通过")
    private Integer state;
}
